package cn.stylefeng.guns.modular.ercomment.mapper;

import cn.stylefeng.guns.modular.ercomment.model.result.Commenterinfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.stylefeng.guns.modular.ercomment.entity.ErComment;
import org.apache.ibatis.annotations.Param;

/**
 * 评论 Mapper 接口
 *
 * @author wpk
 * @date 2021/06/25 15:19
 */
public interface ErCommentMapper extends BaseMapper<ErComment> {
    Commenterinfo getCommenter(Long createUser);
    int showlikestate(Long cid , Long uid);
    void addlike(Long cid ,Long uid);
    void offlike(Long cid ,Long uid);
}